package itsm.isperp.module.entity.wechat;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.MappedSuperclass;
import javax.persistence.Table;

import itsm.isperp.framework.data.mybatis.domain.AbstractTreeNode;

/**
 * 
 * 微信菜单实体类
 * 
 * @author lizx
 * @date 2014-5-31
 * @since 1.0
 * 
 */
@MappedSuperclass
public class WechatMenu extends AbstractTreeNode {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Column
	private String menuType; // click|view
	@Column
	private String menuKey;
	@Column
	private String url;
	@Column
	private String replayType;
	@Column
	private String newsId;
	@Column
	private String messageContent;

	@Column
	private boolean needAccount;

	public String getMenuType() {
		return menuType;
	}

	public void setMenuType(String menuType) {
		this.menuType = menuType;
	}

	public String getMenuKey() {
		return menuKey;
	}

	public void setMenuKey(String menuKey) {
		this.menuKey = menuKey;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getReplayType() {
		return replayType;
	}

	public void setReplayType(String replayType) {
		this.replayType = replayType;
	}

	public String getMessageContent() {
		return messageContent;
	}

	public void setMessageContent(String messageContent) {
		this.messageContent = messageContent;
	}

	public boolean getNeedAccount() {
		return needAccount;
	}

	public void setNeedAccount(boolean needAccount) {
		this.needAccount = needAccount;
	}

	public String getNewsId() {
		return newsId;
	}

	public void setNewsId(String newsId) {
		this.newsId = newsId;
	}

}
